Permanent Magnet Motor Design